package com.ruoyi.tb.lmt.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.tb.lmt.domain.TEquipmentLog;
import com.ruoyi.tb.lmt.domain.vo.TEquipmentLogVo;
import com.ruoyi.tb.lmt.mapper.TEquipmentLogMapper;
import com.ruoyi.tb.lmt.service.TEquipmentLogService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/xha-lmt/equipmentlog")
public class TEquipmentLogController extends BaseController {
    @Autowired
    private TEquipmentLogService tEquipmentLogService;


    @GetMapping("/list")
    public TableDataInfo<TEquipmentLogVo> list(TEquipmentLog tEquipmentLog, PageQuery pageQuery) {
        return tEquipmentLogService.queryPageList(tEquipmentLog, pageQuery);
    }
}
